Skip to content

feat(vault-token): make supplying a vault token optional #90

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
May 15, 2025

Conversation

moo-im-a-cow
Copy link
Contributor

makes the vault token variable optional,
meaning that template creators can use the vault token module just to install vault cli, without it configuring a token environment variable.
the template creator can then log into vault with their own script,
or they can ask the user to manually run vault login command

potential future change: refactor the vault-jwt and the vault-github modules in this repo to call this module for installing vault, and their scripts only need to call the relevant login command, they dont need to download and install vault. makes maintaining easier if you have just one install script.

completely backwards compatible

@matifali

This comment was marked as outdated.

matifali and others added 3 commits May 13, 2025 23:43
- Bumped module version from 1.0.7 to 1.1.0.
- Updated vault CLI version from 1.15.0 to 1.19.0.
- Removed unnecessary newline in vault_token variable.
@matifali matifali requested a review from DevelopmentCats May 15, 2025 16:52
Copy link
Contributor

@DevelopmentCats DevelopmentCats left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me

@matifali matifali merged commit 9a2e48b into coder:main May 15, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants